<template>
  <div>
    <el-container>
      <el-header><Header/></el-header>

      <el-container>
        <el-aside width="150px"><Aside/></el-aside>
        <el-main  ><router-view ></router-view></el-main>
      </el-container>

      <el-footer>Footer</el-footer>
    </el-container>
  </div>
</template>

<script>
import Header  from "../layout/header";
import Aside   from "../layout/Aside-dongtai"

export default {
  name: 'Index',
  components:{Header,Aside},
  props: {
    msg: String
  }
}
</script>
<style>
.el-header, .el-footer {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 1200px;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  /*height: 100%;*/

}

body > .el-container {
  margin-bottom: 40px;
}
*{
 margin:0;
 padding:0;
 box-sizing: border-box;

}

</style>
